package com.amumu.drama.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
@Data
@TableName(value = "pms_product_category")
public class PmsProductCategory implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "first_letter")
    private String firstLetter;

    @TableField(value = "product_count")
    private Integer productCount;

    @ApiModelProperty(value = "是否推荐到首页：0->不推荐；1->推荐")
    @TableField(value = "nav_status")
    private Integer navStatus;

    @ApiModelProperty(value = "是否显示状态：0->不显示；1->显示")
    @TableField(value = "show_status")
    private Integer showStatus;

    @TableField(value = "sort")
    private Integer sort;

    @ApiModelProperty(value = "图标")
    @TableField(value = "icon")
    private String icon;

    @TableField(value = "delete_status")
    private Integer deleteStatus;

    @TableField(value = "keywords")
    private String keywords;

    @ApiModelProperty(value = "描述")
    @TableField(value = "description")
    private String description;

    @ApiModelProperty(value = "上机分类的编号：0表示一级分类")
    @TableField(value = "parent_id")
    private Long parentId;

    @ApiModelProperty(value = "分类级别：0->1级；1->2级")
    @TableField(value = "level")
    private Integer level;

    @TableField(value = "product_unit")
    private String productUnit;

    private static final long serialVersionUID = 1L;


}